widget: Only do a IS_ROOT type check if the parent is unset
authorTimm Bäder <mail@baedert.org>
Sun, 26 Apr 2020 15:34:32 +0000 (17:34 +0200)
committerTimm Bäder <mail@baedert.org>
Tue, 5 May 2020 06:20:09 +0000 (08:20 +0200)
commitef623aaabc35ee19625768aa6739ff81e51cf837
tree2995e5e27a79a2cd930c08bdf33b6c1a803713f3
parentde40b0b0614e34b94b4d0cf5ac4c113322f36d48
widget: Only do a IS_ROOT type check if the parent is unset

So we do less type checks
gtk/gtkwidget.c